package com.group.activity.dao;

import com.group.activity.entity.BargainUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 砍价用户中间表
 * 
 * @author chenshun
 * @email 1615009470@qq.com
 * @date 2021-11-16 11:27:05
 */
@Mapper
public interface BargainUserDao extends BaseMapper<BargainUserEntity> {

    BargainUserEntity selectOned(
           @Param("bargainingListId") Integer bargainingListId,
           @Param("userId") Integer userId);
}
